#ifndef LIBTORRENT_STORAGE_BLOCK_H
#define LIBTORRENT_STORAGE_BLOCK_H

namespace torrent {

class StorageBlock {
public:
	struct Block {
		void *m_data;
		unsigned int m_length;
		unsigned int m_dataOffset;
		unsigned int m_dataLength;

		unsigned int m_refCount;
		bool m_write;
		Block** m_ptr;
	};

	StorageBlock();
	~StorageBlock();
};

} // namespace torrent

#endif // LIBTORRENT_STORAGE_BLOCK_H
